// 客户相关类型定义
import { ID } from './common';

// 客户信息
export interface CustomerInfo {
  id: ID;
  username: string;
  email: string;
  phone?: string;
  realName?: string;
  organization?: string;
  department?: string;
  position?: string;
  address?: string;
  status: string;
  balance: number;
  credit: number;
  totalOrders: number;
  totalAmount: number;
  lastOrderTime?: string;
  registeredAt: string;
  updatedAt: string;
}

// 客户表单
export interface CustomerForm {
  username: string;
  email: string;
  phone?: string;
  realName?: string;
  organization?: string;
  department?: string;
  position?: string;
  address?: string;
  balance?: number;
  credit?: number;
} 